﻿<UserControl x:Class="TestApplication.usercontrols.WebcamControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:business="clr-namespace:TestApplication.business.src"   
             xmlns:control="clr-namespace:TestApplication.control"
             mc:Ignorable="d">
    <UserControl.Resources>
        <control:MyImageConverter x:Key="conv"/>
    </UserControl.Resources>
    <Grid>
        <Image Name="WebcamImage" Source="{Binding Image, Converter={StaticResource conv}}"/>
    </Grid>
</UserControl>
